package com.house.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author asus
 * @since 2021-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class House implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 房屋id
     */
    @TableId(value = "house_id", type = IdType.AUTO)
    private Integer houseId;

    /**
     * 地理位置
     */
    private String housePlace;

    /**
     * 联系方式
     */
    private String housePhone;

    /**
     * 房屋价格	
     */
    private BigDecimal housePrice;

    /**
     * 房屋面积
     */
    private Integer houseArea;

    /**
     * 租赁情况
     */
    private Integer rentType;

    /**
     * 室数
     */
    private Integer roomNum;

    /**
     * 厅数
     */
    private Integer hallNum;

    /**
     * 合租男数
     */
    private Integer maleNum;

    /**
     * 合租女数
     */
    private Integer femaleNum;

    /**
     * 房屋照片地址
     */
    private String housePhotos;

    /**
     * 是否已签合同
     */
    private Integer signContract;

    /**
     * 发布时间
     */
    private LocalDateTime releaseTime;

    /**
     * 发布者id
     */
    private Integer releaseId;

    /**
     * 是否删除房屋
     */
    private Integer deleteState;

    /**
     * 房屋标题
     */
    private String houseTitle;

    /**
     * 房屋介绍
     */
    private String houseDesc;

    private Integer houseState;
}
